package com.hake.example.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.hake.core.exception.AppException;
import com.hake.core.exception.BusinessException;
import com.hake.core.exception.DataBaseException;
import com.hake.core.support.service.IService;
import com.hake.example.entity.User;
import com.hake.example.web.dto.UserInfo;

public interface UserService extends IService<User, Integer> {

	List<User> selectList(UserInfo dto) throws DataBaseException, BusinessException, AppException ;
	
	PageInfo<User> selectPage(UserInfo dto) throws DataBaseException, BusinessException, AppException ;
	
	PageInfo<User> selectPage(Map<String, Object> params) throws DataBaseException, BusinessException, AppException ;
	
}
